package com.weaver.qfengx.api.sf.shundiantong.entity;

import java.math.BigDecimal;

public class CreateOrderCargoDto {
    private String name;
    private String count;
    private String unit;
    private BigDecimal weight;
    private BigDecimal amount;
    private String currency;

    public String getName() {
        return name;
    }

    public CreateOrderCargoDto setName(String name) {
        this.name = name;
        return this;
    }

    public String getCount() {
        return count;
    }

    public CreateOrderCargoDto setCount(String count) {
        this.count = count;
        return this;
    }

    public String getUnit() {
        return unit;
    }

    public CreateOrderCargoDto setUnit(String unit) {
        this.unit = unit;
        return this;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public CreateOrderCargoDto setWeight(BigDecimal weight) {
        this.weight = weight;
        return this;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public CreateOrderCargoDto setAmount(BigDecimal amount) {
        this.amount = amount;
        return this;
    }

    @Override
    public String toString() {
        return "CreateOrderCargoDto{" +
                "name='" + name + '\'' +
                ", count='" + count + '\'' +
                ", unit='" + unit + '\'' +
                ", weight=" + weight +
                ", amount=" + amount +
                ", currency='" + currency + '\'' +
                '}';
    }

    public String getCurrency() {
        return currency;
    }

    public CreateOrderCargoDto setCurrency(String currency) {
        this.currency = currency;
        return this;
    }
}
